package com.gtt.jr.service;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.gtt.jr.repository.UserDao;
import com.gtt.jr.repository.domain.User;

/**
 * 用户服务类实现
 * 
 * @author Michael(gao12581@sina.com)
 * @date 2011-3-8 17:18:15
 * 
 */
@Service("userService")
public class UserServiceImpl implements UserService {

	@Resource
	private UserDao userDao;

	public User load(String username) {
		return userDao.load("username", username);
	}

}
